<?php
/**
 * Intreface DAO
 *
 * @author: http://phpdao.com
 * @date: 2015-05-26 14:36
 */
interface ThingsToDoDAO{

	/**
	 * Get Domain object by primry key
	 *
	 * @param String $id primary key
	 * @Return ThingsToDo 
	 */
	public function load($thingsToDo);
	
	public function thingstodo_images($thingsToDo);
	
	public function remove($thingsToDo);
	

	public function searchby_thingstodo($thingsToDo);
	
	public function searchbycount($thingsToDo);
	
	public function queryAll_thingstodo($thingsToDo);
	
	public function thingstodo_count($thingsToDo);

	/**
	 * Get all records from table
	 */
	public function queryAll();
	
	//public function articles_list($thingstodo);
	
	/**
	 * Get all records from table ordered by field
	 * @Param $orderColumn column name
	 */
	
	/**
 	 * Delete record from table
 	 * @param thingsToDo primary key
 	 */
	public function delete($thingsToDo);
	
	
	/**
 	 * Insert record to table
 	 *
 	 * @param ThingsToDo thingsToDo
 	 */
	public function insert($thingstodo);
	
	public function insert_image($thingstodo);
	/**
 	 * Update record in table
 	 *
 	 * @param ThingsToDo thingsToDo
 	 */
	public function update($thingsToDo);	

	public function update_image($thingstodo);
	
	/**
	 * Delete all rows
	 */
	public function clean();

	public function queryByarticleId($value);

	public function queryBythingsPlace($value);

	public function queryBythingsLocation($value);

	public function queryBythingsImageTitle($value);

	public function queryByimageName($value);

	public function queryBythingsImage($value);

	public function queryBycreatedDate($value);

	public function queryByupdatedDate($value);

	public function queryBystatus($value);


	public function deleteByarticleId($value);

	public function deleteBythingsPlace($value);

	public function deleteBythingsLocation($value);

	public function deleteBythingsImageTitle($value);

	public function deleteByimageName($value);

	public function deleteBythingsImage($value);

	public function deleteBycreatedDate($value);

	public function deleteByupdatedDate($value);

	public function deleteBystatus($value);


}
?>